package org.linlinjava.litemall.db.service;

import com.github.yulichang.base.MPJBaseServiceImpl;
import org.linlinjava.litemall.db.dao.LitemallPosAdMapper;
import org.linlinjava.litemall.db.domain.LitemallPosAd;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LitemallPosAdService extends MPJBaseServiceImpl<LitemallPosAdMapper,LitemallPosAd> {
    public List<LitemallPosAd> PosAdSearchAll(Integer shopId, Integer adminId) {
        return baseMapper.PosAdSearchAll(shopId,adminId);
    }

    public void posAdPastDue(){
        baseMapper.posAdPastDue();
    }


}
